export const state = () => ({
    counter: 0,
    userInfo:{
        name:"hoho",
        age:11,
        sex:1
    },
    stars:0
})

export const mutations = {
    increment(state) {
        state.counter++
    },
    setStars(state,val){
        state.stars=val
    }
}